package com.czxy.changgou3.vo;

import com.czxy.changgou3.pojo.Impression;
import com.czxy.changgou3.pojo.SkuComment;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/** 用于封装评论查询结果
 * Created by liangtong.
 */
@Data
public class CommentResult {
    private List<Impression> impressions;   //所有印象
    private Map<String,String> ratio;       //好评度
    private List<SkuComment> comments;      //评论列表
    @JsonProperty("comment_count")
    private Long commentCount;           //总评论数
}
